package com.jet.chat.db;

import com.jet.chat.exception.ChatExceptionDBService;
import com.jet.chat.service.DBConnectionService;
import com.jet.chat.service.DBQueryService;

public class ChatPrivatesDrop {

	public static void main(String[] args) {
		DBConnectionService dbConnectionService = new DBConnectionService("chatdb");
		try {
			dbConnectionService.createConnection();
			DBQueryService.execUPD(dbConnectionService, "drop table privates");
			dbConnectionService.shutdown();
		} catch (ChatExceptionDBService e) {
			e.printStackTrace();
		}
	}

}
